(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <utility/date.h>
#include <proto/utility.h>
ULONG Date2Amiga()
SYNOPSIS
struct ClockData * date
LOCATION
In UtilityBase at offset 21
FUNCTION
Converts the information given in the struct ClockData *date, into the number of seconds that have past since the 1st of January 1978.
INPUTS
date
Contains the information about the time.
RESULT
The number of seconds since 1.1.1978
NOTES
EXAMPLE
BUGS
SEE ALSO
Amiga2Date()
, CheckData()
INTERNALS
Bit of a hack in the leap year handling.
HISTORY
03.02.1997 ldp
Changed <proto/*_protos.h> to <proto/*.h>
02.02.1997 iaint
Some bug fixes, math functions and native Amiga support
27.01.1997 ldp
Polish
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
31.08.1996 aros
Merged in/modified for FreeBSD.